<div class="kt-modal-content">
    <div class="modal-header">
        <button type="button" class="close" ng-click="$dismiss()" aria-label="Close">
            <em class="ion-ios-close-empty sn-link-close"></em>
        </button>
        <h4 class="modal-title">选择要更新的设备</h4>
    </div>
    <div class="modal-body">
        <div ba-panel ba-panel-class="with-scroll light-text">
            <form name="Form" ng-submit="upgradeDevFirm()">
                <div class="form-group col-md-12 col-sm-12 col-xs-12" ng-if="isShowDev">
                    <label for="type">所属设备</label>
                    <select ng-disabled="isView" class="form-control" ng-model="kt.deviceUid"  id="type"
                            title="所属设备" data-container="body" selectpicker required
                            ng-options="item.value as item.label for item in devList">
                    </select>
                </div>


                <div class="form-group col-md-2 col-sm-2 col-xs-2" style="padding-right: 5px;">
                    <label>升级进度</label>
                </div>

                <div class="progress col-md-9 col-sm-9 col-xs-9" style="padding-left: 0; padding-right: 0; margin-left: 15px; margin-right: 0;">
                    <div class="progress-bar progress-bar-info progress-bar-striped active" role="progressbar" aria-valuenow="10" aria-valuemin="0" aria-valuemax="100"
                         ng-style="processStyle">
                        {{processText}}
                    </div>
                </div>


                <div class="form-group col-md-12 col-sm-12 col-xs-12">
                    <button type="submit" class="btn btn-danger btn-with-icon" ng-if="!isView">
                        <i class="ion-heart"></i>升级
                    </button>
                </div>
            </form>
        </div>
    </div>
</div>